package com.lmaye.utils;

/**
 * Http请求方法
 *
 * @author lmay.Zhou
 * @date 2019/4/23 17:12 星期二
 * @qq 379839355
 * @email lmay@lmaye.com
 */
public enum Method {

    /**
     * GET
     */
    GET("GET"),

    /**
     * POST
     */
    POST("POST"),

    /**
     * PUT
     */
    PUT("PUT"),

    /**
     * DELETE
     */
    DELETE("DELETE"),;

    private String value;

    Method(String value) {
        this.value = value;
    }

    /**
     * 获取枚举对象的具体值
     *
     * @return 具体值
     */
    public String getValue() {
        return value;
    }
}
